<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>
	
	<li><?php echo $this->Html->link(__('Add Memebr', true), 
		array('plugin'=>'members','controller'=>'members','action'=>'add'),
		array('escape'=>false)); ?></li>
	
	<?php if(isset($member['Member']['id'])){?>
	<li><?php echo $this->Html->link(__('Edit Member', true), 
		array('plugin'=>'members','controller'=>'members','action'=>'edit',$member['Member']['id']),
		array('escape'=>false,'onclick'=>"return hs.htmlExpand(this, { objectType: 'iframe' } )")); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Member', true), 
		array('plugin'=>'members','controller'=>'members','action'=>'delete',$member['Member']['id']),
		array('escape'=>false), sprintf(__d('store','Are you sure you want to delete # %s?', true), $member['Member']['id'])); ?></li>
	<?php }?>
	<?php if(is_numeric($this->Form->value('Member.id'))){?>

	<li><?php echo $this->Html->link(__('View Member', true), 
		array('plugin'=>'members','controller'=>'members','action'=>'edit',$this->Form->value('Member.id')),
		array('escape'=>false)); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Member', true), 
		array('plugin'=>'members','controller'=>'members','action'=>'delete',$this->Form->value('Member.id')),
		array('escape'=>false), sprintf(__d('store','Are you sure you want to delete # %s?', true), $this->Form->value('Member.id'))); ?></li>
	<?php }?>
<?php }?>